/*
 * @Description: 
 * @Author: 黎志恒
 * @LastEditors: 黄勇
 * @Date: 2019-03-23 10:42:33
 * @LastEditTime: 2020-04-10 11:04:57
 */

const Mock = require('mockjs');

Mock.mock('/rest/businessSquere', 'post', require('./json/businessSquere.json'));
Mock.mock('/product/create', 'post', require('./json/product.json'));
Mock.mock('/product/productPackage/getProductPackages', 'post', require('./json/productList.json'));
Mock.mock('/product/productPackage/getProductPackageDetail', 'post', require('./json/productDetail.json'));
Mock.mock('/product/status', 'post', require('./json/openOrCloseProduct.json'));
Mock.mock('/product/optional-plugins', 'post', require('./json/pluginList.json'));

Mock.mock('/product/child/list', 'post', require('./json/pluginList.json'));
Mock.mock('/product/child/add', 'post', require('./json/pluginList.json'));
Mock.mock('/product/child/delete', 'post', require('./json/pluginList.json'));
Mock.mock('/product/child/edit', 'post', require('./json/pluginList.json'));

Mock.mock('/boss/getRoleList', 'post', require('./json/roleList.json'));
Mock.mock('/boss/getMenuList', 'post', require('./json/menuList.json'));
Mock.mock('/product/plugin/child/list', 'post', require('./json/pluginList.json'));
Mock.mock('/product/plugin/getCategoryList', 'post', require('./json/pluginList.json'));
